projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4d4cbd
)
tests: Add a test which exercises --fsync=false
author
Colin Walters
<walters@verbum.org>
Wed, 18 Jun 2014 22:24:41 +0000
(18:24 -0400)
committer
Colin Walters
<walters@verbum.org>
Wed, 18 Jun 2014 22:24:41 +0000
(18:24 -0400)
tests/test-basic.sh
patch
|
blob
|
history
diff --git
a/tests/test-basic.sh
b/tests/test-basic.sh
index 0a9908deb836b8f1d40cf26e7814a951db4523db..e0e71329bb1b3f50cf8ca2f40bcda4e9cad0519e 100755
(executable)
--- a/
tests/test-basic.sh
+++ b/
tests/test-basic.sh
@@
-328,3
+328,9
@@
if $OSTREE commit -b test2 -s "Attempt to commit a FIFO" 2>../errmsg; then
fi
echo "ok commit of fifo was rejected"
+cd ${test_tmpdir}
+rm -rf test2-checkout
+mkdir -p test2-checkout
+cd test2-checkout
+touch should-not-be-fsynced
+$OSTREE commit -b test2 -s "Unfsynced commit" --fsync=false